﻿namespace zijian666.Converts.Core;

/// <summary>
/// 匹配类型
/// </summary>
public enum MacthedType
{
    /// <summary>
    /// 未匹配
    /// </summary>
    NotMatched = 0,
    /// <summary>
    /// 转换器转出类型与期望类型完全一致
    /// </summary>
    Equals = 1,
    /// <summary>
    /// 转换器转出类型是期望类型的子类或实现
    /// </summary>
    Acceptable = 2,
    /// <summary>
    /// 转换器可以转换期望类型的父类,可尝试创建子类型实例
    /// </summary>
    TryCreate = 3,
}